package com.easy.dn.ui.usercenter.contract;

import com.easy.common.base.BaseModel;
import com.easy.common.base.BasePresenter;
import com.easy.common.base.BaseView;
import com.easy.dn.bean.UserDataBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by 丁宁
 * on 2017/5/9.
 */

public interface MyInfomationContract {
    interface Model extends BaseModel {
        Observable<UserDataBean> ObtainUserInfoData(Map<String, String> map);
    }

    interface View extends BaseView {
        void returnInfoData(UserDataBean bean);
    }

    abstract static class Presenter extends BasePresenter<View, Model> {
        public abstract void getInfoData(Map<String, String> map);
    }
}
